/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Fachada;

import Dao.DaoHospede;
import Dao.DaoHotel;
import Dao.DaoReserva;


/**
 *
 * @author pablo_veinberg
 */
public class Fachada {
    
    private static Fachada instancia;
    
    private DaoHospede daoHospede = new DaoHospede();
    private DaoHotel daoHotel = new DaoHotel(); 
    private DaoReserva daoReserva = new DaoReserva();
    
    private Fachada() {}
    
    public static Fachada getInstance() {
        if (instancia == null) {
            instancia = new Fachada();
        }
        return instancia;
    }

    public DaoHospede getDaoHospede() {
        return daoHospede;
    }

    public void setDaoHospede(DaoHospede daoHospede) {
        this.daoHospede = daoHospede;
    }

    public DaoHotel getDaoHotel() {
        return daoHotel;
    }

    public void setDaoHotel(DaoHotel daoHotel) {
        this.daoHotel = daoHotel;
    }

    public DaoReserva getDaoReserva() {
        return daoReserva;
    }

    public void setDaoReserva(DaoReserva daoReserva) {
        this.daoReserva = daoReserva;
    }
        
}
